package com.huike.Position.dtos;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
public class PositionPageDTO implements Serializable {


    private Integer page;
    private Integer pageSize;
    /**
     * 岗位名称
     */
    private String positionName;
    /**
     * 岗位编码
     */
    private String positionNumber;
    /**
     * 状态   1 启用    0  禁用
     */
    private Integer status;

    public void initialize(){
        if (page == null || page == 0){
            page = 1;
        }
        if (pageSize == null || pageSize == 0){
            pageSize = 10;
        }

    }

}

